package com.dlyk.service;

import com.dlyk.model.TClue;
import com.dlyk.model.TUser;
import com.dlyk.query.ClueQuery;
import com.github.pagehelper.PageInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

/**
 * @description:
 * @author: ajie
 * @date: 2024/7/24 20:48:42
 * @version: 1.0
 */
public interface ClueService {
    PageInfo<TClue> getClueByPage(Integer current,ClueQuery clueQuery);

    void importExcel(MultipartFile file,String token) throws IOException;

    boolean checkPhone(String phone);

    int saveClue(ClueQuery clueQuery);

    TClue getClueById(Integer id);

    int updateClue(ClueQuery clueQuery);

    int delClueById(Integer id);

    int batchDelClueByIds(List<String> idList);
}
